package com.example.demo.mapper;

import com.example.demo.entity.Interview;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface InterviewMapper {
    int insert(Interview interview);
    int update(Interview interview);
    Interview findById(Long id);
    List<Interview> findByUserId(Long userId);
    int delete(Long id);
}